


//
//  LJHBaseModel.m
//  HEARME
//
//  Created by liujinhui on 16/1/21.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "LJHBaseModel.h"

@implementation LJHBaseModel

-(instancetype)initWithDictionary:(NSDictionary *)dictionary
{
    self = [super init];
    
    if (self) {
        
        [self setValuesForKeysWithDictionary:dictionary];
    }
    
    return self;
}
+(instancetype)modelWithDictionary:(NSDictionary *)dictionary
{
    
    return [[[self alloc] initWithDictionary:dictionary] autorelease];
    
}
-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}
-(id)valueForUndefinedKey:(NSString *)key
{
    return nil;
}
@end
